package com.kust.smarthome.web.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "商品列表信息")
public class CommodityDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品id")
    private Integer commodityId;

    @ApiModelProperty("商品名")
    private String name;

    @ApiModelProperty("商品详细信息")
    private String intro;

    @ApiModelProperty("商品价格")
    private Double money;

    @ApiModelProperty("商品浏览量")
    private Integer viewCount;

    @ApiModelProperty("商品首页图")
    private String imgurl1;

    @ApiModelProperty("商品类型")
    private String type;

}
